#define _CRT_SECURE_NO_WARNINGS 1
#include"Polynomial_summation.h"

void test1()
{
	int input = 5;
	int x = 2;
	oper P;
	creatploynomial(&P);
	readoperands(&P, input);
	printsummation(&P);
	sortpolynomial(&P);
	printsummation(&P);
	int sum = addoperands(&P,x);
	printf("%d", sum);
}

int main()
{
	test1();

}